package org.jeecg.modules.crm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: Agent
 * @Author: jeecg-boot
 * @Date:   2025-04-13
 * @Version: V1.0
 */
@Data
@TableName("agent")
@ApiModel(value="agent对象", description="Agent")
public class Agent implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**Name*/
    @Excel(name = "Name", width = 15)
    @ApiModelProperty(value = "Name")
    private String name;
	/**Display Name*/
    @Excel(name = "Display Name", width = 15)
    @ApiModelProperty(value = "Display Name")
    private String displayName;
	/**NRIC/Passport*/
    @Excel(name = "NRIC/Passport", width = 15)
    @ApiModelProperty(value = "NRIC/Passport")
    private String nricPassport;
	/**Email*/
    @Excel(name = "Email", width = 15)
    @ApiModelProperty(value = "Email")
    private String email;
	/**Mobile*/
    @Excel(name = "Mobile", width = 15)
    @ApiModelProperty(value = "Mobile")
    private String mobile;
	/**Address*/
    @Excel(name = "Address", width = 15)
    @ApiModelProperty(value = "Address")
    private String address;
	/**Creditor Code*/
    @Excel(name = "Creditor Code", width = 15)
    @ApiModelProperty(value = "Creditor Code")
    private String creditorCode;
	/**Withholding Tax Code*/
    @Excel(name = "Withholding Tax Code", width = 15)
    @ApiModelProperty(value = "Withholding Tax Code")
    private String taxCode;
	/**Payee Name*/
    @Excel(name = "Payee Name", width = 15)
    @ApiModelProperty(value = "Payee Name")
    private String payeeName;
	/**Payee ID Type*/
    @Excel(name = "Payee ID Type", width = 15)
    @ApiModelProperty(value = "Payee ID Type")
    private String idType;
	/**Payee ID*/
    @Excel(name = "Payee ID", width = 15)
    @ApiModelProperty(value = "Payee ID")
    private String payeeId;
	/**Bank*/
    @Excel(name = "Bank", width = 15)
    @ApiModelProperty(value = "Bank")
    private String bank;
	/**Bank Account No*/
    @Excel(name = "Bank Account No", width = 15)
    @ApiModelProperty(value = "Bank Account No")
    private String bankAccountNo;
	/**SWIFT Code*/
    @Excel(name = "SWIFT Code", width = 15)
    @ApiModelProperty(value = "SWIFT Code")
    private String swiftCode;
	/**REN No*/
    @Excel(name = "REN No", width = 15)
    @ApiModelProperty(value = "REN No")
    private String renNo;
	/**REN License*/
    @Excel(name = "REN License", width = 15)
    @ApiModelProperty(value = "REN License")
    private String renLicense;
	/**REN Expired Date*/
    @Excel(name = "REN Expired Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "REN Expired Date")
    private Date renExpiredData;
	/**Branch*/
    @Excel(name = "Branch", width = 15)
    @ApiModelProperty(value = "Branch")
    @Dict(dicCode = "branch,name,id")
    private String branch;
	/**Upline*/
    @Excel(name = "Upline", width = 15)
    @ApiModelProperty(value = "Upline")
    @Dict(dicCode = "sys_user,realname,id")
    private String upline;
	/**Sponsor*/
    @Excel(name = "Sponsor", width = 15)
    @ApiModelProperty(value = "Sponsor")
    private String sponsor;
	/**Designation*/
    @Excel(name = "Designation", width = 15)
    @ApiModelProperty(value = "Designation")
    @Dict(dicCode = "designation,name,id")
    private String designation;
	/**Commission %*/
    @Excel(name = "Commission %", width = 15)
    @ApiModelProperty(value = "Commission %")
    private String commission;
	/**Join Date*/
    @Excel(name = "Join Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "Join Date")
    private Date joinDate;
	/**Resign Date*/
    @Excel(name = "Resign Date", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "Resign Date")
    private Date resignDate;
	/**Income Tax No*/
    @Excel(name = "Income Tax No", width = 15)
    @ApiModelProperty(value = "Income Tax No")
    private String incomeTaxNo;
	/**Leaderboard */
    @Excel(name = "Leaderboard ", width = 15)
    @ApiModelProperty(value = "Leaderboard ")
    private String leaderboard;
	/**Active*/
    @Excel(name = "Active", width = 15)
    @ApiModelProperty(value = "Active")
    private String active;
	/**Remark*/
    @Excel(name = "Remark", width = 15)
    @ApiModelProperty(value = "Remark")
    private String remark;
	/**Attachment*/
    @Excel(name = "Attachment", width = 15)
    @ApiModelProperty(value = "Attachment")
    private String attachment;
}
